﻿using System;
using System.Collections.Generic;
using System.Text;
using xiaodingmarket_Domain.Models;

namespace xiaodingmarket_application.ViewModel
{
    public class UserViewModel
    {
        public UserViewModel()
        {
        }

        public UserViewModel(string studentId, string studentName, string studentSex, string collegename, string userid, string userName, string userPictureSrc)
        {
            StudentId = studentId;
            StudentName = studentName;
            StudentSex = studentSex;
            this.collegename = collegename;
            Userid = userid;
            UserName = userName;
            UserPictureSrc = userPictureSrc;
         
        }

        /// <summary>
        /// 学号
        /// </summary>
        public string StudentId { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string StudentName { get; set; }
        /// <summary>
        /// 真实性别
        /// </summary>
        public string StudentSex { get; set; }
        /// <summary>
        /// 学生所在学院
        /// </summary>
        public string collegename { get; set; }
        /// <summary>
        /// 易班用户id
        /// </summary>
        public string Userid { get; set; }
        /// <summary>
        /// 易班用户昵称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 易班头像所在地址
        /// </summary>
        public string UserPictureSrc { get; set; }

        

        public List<UserRoles> userroles { get; set; }
    }
}
